contains
Returns true when an attribute with the given name is specified on the element or has a default value, otherwise returns false.
Parameters
name
the name of the attribute
Throws
when name is empty or blank
when the element is closed
Returns true when an attribute with the given name is specified on the element or has a default value, otherwise returns false.
the name of the attribute
when name is empty or blank
when the element is closed